package com.zykj.ribbon.controller;

import com.zykj.ribbon.service.DemoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zhoulj(周利军) [1217102780@qq.com]
 * @Title: BibbonController
 * @Project: ${MODEL_NAME}
 * @Module ID:   <(模块)类编号，可以引用系统设计中的类编号>
 * @Comments: <对此类的描述，可以引用系统设计中的描述>
 * @JDK version used:      <JDK1.8> 58
 * @since 2018/12/22-0:58
 */
@RestController
@RequestMapping("ribbon")
public class BibbonController {
    @Autowired
    DemoService demoService;

    @RequestMapping()
    public String index(String name) {
        return demoService.getService(name);

    }
}
